package com.platform.common.core.domain.entity;

import com.platform.common.core.annotation.Excel;
import com.platform.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 运单状态节点字典对象 dic_mawb_nodes
 *
 * @author platform
 * @date 2023-04-19
 */
public class DicMawbNodes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long id;

    /** 货物节点代码 */
    @Excel(name = "货物节点代码")
    private String nodeCode;

    /** 货物节点名称 */
    @Excel(name = "货物节点名称")
    private String nodeName;

    /** 0 出港 1 进港 */
    @Excel(name = "0 出港 1 进港")
    private String nodeType;

    /** 节点备注 */
    @Excel(name = "节点备注")
    private String nodeRemarks;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNodeCode(String nodeCode)
    {
        this.nodeCode = nodeCode;
    }

    public String getNodeCode()
    {
        return nodeCode;
    }
    public void setNodeName(String nodeName)
    {
        this.nodeName = nodeName;
    }

    public String getNodeName()
    {
        return nodeName;
    }
    public void setNodeType(String nodeType)
    {
        this.nodeType = nodeType;
    }

    public String getNodeType()
    {
        return nodeType;
    }
    public void setNodeRemarks(String nodeRemarks)
    {
        this.nodeRemarks = nodeRemarks;
    }

    public String getNodeRemarks()
    {
        return nodeRemarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nodeCode", getNodeCode())
            .append("nodeName", getNodeName())
            .append("nodeType", getNodeType())
            .append("nodeRemarks", getNodeRemarks())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
